package com.antler.luajavalibrary.luaext.ui;

import com.alibaba.fastjson.JSONObject;

public interface UIView {
    public String getID();

    public void setID(String id);

    public int getType();

    public int subviewsCount();

    public UIView getSubview(int index);

    public void addSubView(UIView subview, int index);

    public void removeSubview(int index);

    public void removeFromParent();

    public void setActionCallback(int action, int funID);

    public void removeAllActionCallback();

    public String toJson();

    public void setAttr(String attrs);

    public void setStyle(String styles);

    public void setPseudoStyle(String pseudo, String styles);
}
